package com.kakarote.crm9.erp.jxc.entity.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

import java.util.Date;

/**
 * 商品仓库
 * @author xjl
 * @date 2021/3/15 17:11
 */
@SuppressWarnings("serial")
public abstract class BaseGoodsWarehouse<M extends BaseGoodsWarehouse<M>> extends Model<M> implements IBean {

    public void setId(Integer id) {
        set("id", id);
    }

    public int getId() {
        return getInt("id");
    }

    public void setWarehouseName(String warehouseName) {
        set("warehouse_name", warehouseName);
    }

    public String getWarehouseName() {
        return getStr("warehouse_name");
    }

    public void setCreateTime(Date createTime) {
        set("create_time", createTime);
    }

    public Date getCreateTime() {
        return getDate("create_time");
    }

    public void setCreateBy(String createBy) {
        set("create_by", createBy);
    }

    public String getCreateBy() {
        return getStr("create_by");
    }
}
